<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title>中奖记录</title>
		<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0' />
		<link rel="stylesheet" href="css/winRecord.css" />
		<link rel="stylesheet" type="text/css" href="css/hehua.css" />
		<script src="js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" src="js/moduls/prize.js"></script>
		<script src="//res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
		<script src="//res.qiaomukeji.com/js/chomoo-weixin.js?v=3"></script>
		<script type="text/javascript" src="js/moduls/islogin.js"></script>
		<script type="text/javascript" src="js/adapter.js"></script>
		<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>

	</head>

	<body>
		<div class="top">
			<div class="top-logo">
			</div>
			<div class="top-theme">
			</div>
			<div class="top-title">
			</div>

		</div>
		<div class="bottom">
			<div class="bottom-logo2">
			</div>
		</div>
		<div class="content">
			<div class="middlePath">
				<div class="title">
					<img src="img/winRecord.png" alt="">
				</div>
				<div class="line">
					<img src="img/line.png" alt="">
				</div>
				<div class="midContent">
					<div class="shifting">
						<span>环节筛选 </span>
						<span>
          	奖品类型筛选
          </span>
						<span>
          	领取状态
          </span>
					</div>

				</div>
				<div class="line">
					<img src="img/line.png" alt="">
				</div>
				<div class="hhtable">
					<div class="hhtable-content" style="height: 3.6rem;">
						<div class="hhtable-header">
							<table>
								<thead>
									<tr>
										<td style="width: 25%;">奖品</td>
										<td style="width: 20%;">中奖环节</td>
										<td style="width: 30%;">中奖时间</td>
										<td style="width: 25%;">领奖与否</td>
									</tr>
								</thead>

							</table>
						</div>
						<div class="hhtable-body">
							<table>
								<tbody>
									<tr v-for="award in awards" :key="award.id">
										<td style="width: 25%;">{{award.awardName}}</td>
										<td style="width: 20%;">{{award.link}}</td>
										<td style="width: 30%;">{{award.drawDate}}</td>
										<td style="width: 25%;">{{award.status}}</td>
									</tr>
								</tbody>
							</table>
						</div>
					</div>
				</div>

				<div class="page">
					<!--<span>页码</span>
					<span>1</span>
					<span>2</span>
					<span>3</span>
					<span>4</span>
					<span>5</span>
					<span>6</span>-->
				</div>

			</div>
			<div class="backBtn" onclick="history.go(-1);">
				返回
			</div>
			<div class="bottom-logo">
				<img src="img/bottom_logo2.png" />
			</div>
		</div>

		<script>
			var app = new Vue({
				el: '.content',
				data: {
					awards: []
				}
			})

			getAward(t_skey, function(res) {
				for(var i = 0; i < res["reward"].length % 8; i++) {
					var t_team = {
						"awardName": "",
						"link": "",
						"drawDate": "",
						"status": ""
					}
					res["reward"].push(t_team)
				}
				app.awards = res["reward"]
			})
		</script>

	</body>

</html>